From eeb945e4c16b6ff26d20e2452b4c33a133e12395 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 8 Mar 2016 01:47:33 +0100 Subject: [PATCH] inspector: Widgets update automatically when CSS changes There's no need to force-invalidate their CSS. --- gtk/inspector/css-editor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/inspector/css-editor.c b/gtk/inspector/css-editor.c index 4e1c40cf70..51d646ba95 100644 --- a/gtk/inspector/css-editor.c +++ b/gtk/inspector/css-editor.c @@ -227,8 +227,6 @@ update_style (GtkInspectorCssEditor *ce) text = get_current_text (ce->priv->text); gtk_css_provider_load_from_data (ce->priv->provider, text, -1, NULL); g_free (text); - - gtk_style_context_reset_widgets (gdk_screen_get_default ()); } static gboolean -- 2.30.2